package command;

import electricalequipment.Zh0202Composite;
import electricalequipment.Zh0202ElectricalEquipment;

/**
 * @author: zh
 * @date: 2021/12/15 21:22
 * @version: 1.0
 */
public class Zh0202OpenCommand implements Zh0202Command{
    private Zh0202ElectricalEquipment composite;

    public Zh0202OpenCommand(Zh0202ElectricalEquipment composite) {
        this.composite = composite;
    }

    @Override
    public void execute() {
        composite.open();
    }
}
